home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / archvrs / os2 / av145 / av.doc < prev    next >
Encoding:
Text File  |  1992-10-31  |  14.6 KB  |  371 lines

  1.  
  2.                         AV (Archive Viewer)
  3.                    Copyright (c) 1992 by M. Kimes
  4.                         All rights reserved
  5.  
  6.  
  7.  
  8. Overview:
  9. ========
  10.  
  11. AV is a 32-bit PM archive viewing, application launching, and
  12. file/directory maintenance utility for OS/2 2.x.
  13.  
  14. For archive viewing, AV uses a plain text configuration file
  15. (ARCHIVER.BB2) to get information about how different archives look and
  16. how their corresponding archivers work.  This file is included in the AV
  17. archive and is easy to modify to add other archivers using a text
  18. editor (there are also internal editting functions in AV).  As supplied,
  19. LH2, PKZIP, ZOO, ARJ (via UNARJ) and ARC are configured for you (see
  20. versions below).  AV requires the OS/2 archivers to be present (on your
  21. PATH, preferably) to work.  AV is a controller program that collects
  22. data from and interchanges it between you, your files, and your
  23. archivers.
  24.  
  25. AV also supports file association; associating datafiles with executable
  26. files so that applications can be started by selecting data files.  AV
  27. also has OS/2 1.x-like Groups for those who might want to use it as a
  28. replacement to the Workplace Shell due to memory constrictions.  Groups
  29. are limited, and the Mass Move/Copy/Delete/Manipulation and Build
  30. Archive commands are non-functional in the unregistered version of AV.
  31. You do not have to use AV for archive viewing to use the program
  32. launching and file maintenance features.
  33.  
  34. AV requires that the Helv bitmapped and system mono fonts that came with
  35. OS/2 be installed.  They almost always are.
  36.  
  37.  
  38. Setting up AV:
  39. =============
  40.  
  41. To use AV, copy ARCHIVER.BB2 (if you want archive viewing capability)
  42. and AV.EXE somewhere on your PATH (or DPATH for ARCHIVER.BB2).  Type
  43. PATH at a CMD.EXE command prompt to see what your PATH is.  Check the
  44. Command Reference under PATH, DPATH and SET if you don't have any idea
  45. what I'm talking about (hint:  d:\OS2 is always on the PATH, where d: is
  46. the drive on which you installed OS/2).  Typing HELP SET at a command
  47. line should get you on the right track.  Alternatively, check the
  48. Command Reference in the Information folder.
  49.  
  50. Copy AV.HLP into your HELP directory.  Type SET and look for HELP=... to
  51. find it (hint:  it's usually d:\OS2\HELP, where d: is the drive on which
  52. you installed OS/2).
  53.  
  54. The first time you run AV, press F10 and set up the programs that you'll
  55. be using with AV.  If you give no Viewer, AV uses a cheap internal MLE
  56. viewer.  You can run TESTAV.EXE before running AV the first time to get
  57. an idea of how compatible AV's default setup is with your system, and to
  58. give AV.EXE a quick integrity check.
  59.  
  60. As you've received AV, it's set up for the following OS/2 archivers on
  61. your PATH:
  62.  
  63. Zoo         1.51 (also seems to work with 2.1)
  64. PK(Un)Zip   1.01
  65. LH2         2.11
  66. UnArj       2.10
  67. Arc         5.12mpl
  68.  
  69.         Archiver credits:
  70.  
  71.         Zoo         --  Rahul Dhesi
  72.         Zip         --  Mark Adler, Richard B. Wales, Jean-loup Gailly
  73.                         and Kai Uwe Rommel.
  74.         Unzip       --  S. H. Smith and others / Info-ZIP
  75.         PK(UN)ZIP   --  PKWARE
  76.         Arc         --  System Enhancements Associates
  77.         Lh2         --  Peter Fitzsimmons
  78.         Arj         --  Robert K. Jung
  79.  
  80. If your archivers aren't on your PATH, or if you use different
  81. archivers, you will probably need to make adjustments to ARCHIVER.BB2.
  82. There are notes in the file about how to replace PK(Un)Zip with
  83. Zip/Unzip, Arc 5.12mpl with Arc2 6.0, and UnArj 2.10 with Scott Dudley's
  84. port of UnArj 2.30.  There are general notes on how it's done if you
  85. need to set up something entirely different.  AV will also try to help
  86. you out while you're in the program if it senses something may be amiss
  87. (like you screwed up); there's a built-in archiver detail editor for
  88. quick changes and testing to the archiver details.
  89.  
  90. Please do use all those Help keys/buttons/menu items; that's what
  91. they're there for.  Could save you some time in the long run.
  92.  
  93. Warning:  Go ahead and look at AV, but if your archivers aren't those
  94. listed above, and located on your PATH, don't expect AV's archive
  95. viewing to magically work properly until you edit ARCHIVER.BB2, either
  96. internally or externally.  You can test AV out on the TEST.* archives
  97. included in the distribution archive inside archive TESTARC.ZIP; unpack
  98. them, select them, and see what happens.
  99.  
  100.  
  101. Using AV:
  102. ========
  103.  
  104. Typing AV at a command line prompt (or using a reasonable OS/2
  105. facsimile, like an AV program object) will bring up AV.  On the command
  106. line you can optionally follow "AV" with a path or filename.  Command
  107. line examples:
  108.  
  109.   Start AV in current directory:
  110.     AV
  111.   Start AV on drive D: in directory \ARCS (note trailing backslash):
  112.     AV D:\ARCS\
  113.   Start AV on drive E: in directory \ADIR looking at ANARC.ARC:
  114.     AV E:\ARCS\ANARC.ARC
  115.  
  116. AV operates by presenting you with a few different dialogue boxes in
  117. which you can pick things to look at or do.  There's full documentation
  118. available online, so this file is brief.
  119.  
  120.  
  121. When you upgrade or add archivers:
  122. =================================
  123.  
  124. The file ARCHIVER.BB2 contains all the information AV uses to get at the
  125. guts of an archive.  ARCHIVER.BB2 has comments in it to explain how it
  126. works, how to modify it and how to add to it.  If your copy of AV seems
  127. to not be working properly (identifying files properly), chances are good
  128. that your version of an archiver isn't the same as the one for which the
  129. file was made.  You'll have to load ARCHIVER.BB2 and modify it.  Look at
  130. the bottom of ARCHIVER.BB2 for some hints on the easiest ways to do that.
  131.  
  132. Note that there are a couple of different versions of archivers floating
  133. around that have details different than those "stock" in ARCHIVER.BB2.
  134. I've made commented notes in the file where I know of differences to
  135. make it easier for you to change, and AV should let you know if it
  136. thinks you might need to tweak ARCHIVER.BB2.  Don't be afraid, crank up
  137. a text editor and fix it.
  138.  
  139. If AV thinks you've got a buggered-up archiver entry, it'll try to give
  140. you advice and help you fix it.  You'll need to refer to the notes in
  141. the ARCHIVER.BB2 that came with AV for full details, so save a copy.
  142.  
  143. Most of the time when you upgrade (as opposed to add or completely
  144. change) an archiver, you'll be able to simply select an archive of the
  145. type being upgraded, then come to the Archiver Details screen and tweak
  146. your settings.  It's even possible you'll never notice the change...
  147.  
  148.  
  149. Hints:
  150. ======
  151.  
  152. Use the Workplace to associate archive names (*.ZIP, *.LZH, etc.) with
  153. AV (right-click on AV's program object, open Settings, and look at the
  154. third page, Associations).  Then, if you double-click on an archiver
  155. object in Drives, AV will be executed.
  156.  
  157. Under Parameters on the first page (Program) of AV's program Settings,
  158. put %* so that if you drag an archive onto AV's program object it'll
  159. kick up and directly view the archive.
  160.  
  161. Use AV's association feature to associate *.TAR with a TAR archiver (no
  162. way I know of to tell they're archives by peeking at the file; this
  163. trick should work with other "weird" archive types).
  164.  
  165. If you're a C programmer you might want to associate *.MAK files with
  166. your compiler, and *.C and *.H files with your text editor.  Use the
  167. Mass File Management dialogue to select files for a grep 1Command (be
  168. sure to check the Keep box or redirect output to a disk file).
  169.  
  170. Set up some commonly used filemasks in advance, including those you
  171. might use for file maintenance (*.BAK, FNEWS*.*, etc.) and save them by
  172. calling up the Config dialog, checking "Save As Defaults," and clicking
  173. Okay.  You can have up to 25 masks, and masks can contain multiple
  174. entries separated by a semi-colon.  I've given you a few default masks,
  175. called up if you have none saved, to give you an idea what can be done.
  176.  
  177. If you have a large collection of text files or .INF files, keep them in
  178. one-file-per-archives and use AV, in Viewer mode, to select them for
  179. viewing.  AV will automatically extract and view the file when the
  180. archive is selected.  Of course, you could also organize your files into
  181. archive of related material and select files from these "library
  182. sections." This can save you a lot of disk space for reference material,
  183. and maybe even help you get organized.
  184.  
  185.  
  186. Replacing the Workplace Shell:
  187. =============================
  188.  
  189. To use AV as your Workplace Shell (not recommended unless you're in a
  190. very tight memory situation, say less than 8mb), install as above, then
  191. change the line in your CONFIG.SYS that starts SET RUNWORKPLACE= with
  192.  
  193.  SET RUNWORKPLACE=<drive>:<directory\>AV.EXE
  194.  
  195. where <drive>:<directory> is the path to where you have AV.EXE
  196. installed. You can just REM out the old line to let you easily change
  197. your CONFIG.SYS back if AV doesn't work out as you'd like.
  198.  
  199. When AV is running as the Workplace Shell, you can use it to set a
  200. bitmap to the desktop background.  Highlight the bitmap file, then
  201. select Files->Desktop.  AV calls OS/2 to set the bitmap. To get rid of
  202. the bitmap and restore the desktop to a color, highlight something
  203. besides a bitmap and select Desktop as above.
  204.  
  205.  
  206. Known bugs/features:
  207. ===================
  208.  
  209. AV doesn't handle filenames with spaces in them.  There's a limit of 500
  210. files/archive (200 for the unregistered version).  The internal viewer
  211. is limited to loading about 58K (OS/2 MLE restriction); I suggest you
  212. configure a better general-purpose reader.  Setting a desktop bitmap
  213. with anything but Scaled doesn't work.
  214.  
  215. There could be more bugs, of course -- AV is a non-trivial program --
  216. but these are all I know about.
  217.  
  218.  
  219. Commonly asked questions, commonly given answers:
  220. ================================================
  221.  
  222. Q: When I select a file that's not an archive, I get a message box
  223.    telling me the file is not an archive and asking if I want to view it.
  224.    How do I prevent the message box from appearing?
  225.  
  226. A: Uncheck "Confirm View?" in the Config dialog (F10).
  227.  
  228. Q: I can't seem to view .PAK and .SDN archives.
  229.  
  230. A: There's no OS/2 version of PAK available yet.
  231.  
  232. Q: Sometimes when I start AV it tells me the extract directory already
  233.    exists.  Why?
  234.  
  235. A: You probably either quit AV while another program (probably a viewer)
  236.    had a file open that was in one of the temporary directories AV
  237.    creates while running, so AV couldn't clean up behind itself, or shut
  238.    down dirty (power loss) while AV was running.  Ensure that you don't
  239.    have another copy of AV already running, then click Yes on the
  240.    message box.  Things should proceed normally from there.
  241.  
  242.  
  243. Warranty:
  244. ========
  245.  
  246. Absolutely none.
  247.  
  248.  
  249. Support:
  250. =======
  251.  
  252. Registered users may send and receive Fidonet netmail, Snail mail or
  253. call the BBS with questions and answers (although, to be honest, AV is
  254. so simple help should rarely if ever be needed).  See end of document
  255. for addresses.
  256.  
  257. Unregistered users will get help as and if I get the time.  If you never
  258. bothered to edit ARCHIVER.BB2 don't bother to ask for help.
  259.  
  260.  
  261. Shareware:
  262. =========
  263.  
  264. If you like and use AV, you should send the author $25.00 US via check
  265. or money order (sorry, no plastic) at the address below.  The
  266. "registered" version doesn't have the opening popup, has working Move,
  267. Copy, Build, Groups, etc., and will probably have further enhancements
  268. by the time you register (I may not be the best programmer around, but
  269. I'm balls fast).
  270.  
  271. You may continue to use the unregistered version of AV if you're a
  272. tightwad, or just plain broke.  My intent is not to gouge you for cash,
  273. but to provide a service and sell a program.  You must register,
  274. however, to get a fully functional copy of AV.
  275.  
  276. The above prices and terms are for private individuals.  Commercial
  277. users _must_ register to use AV, and must pay $50.00 US per machine.
  278.  
  279.  
  280. Copyrights and such:
  281. ===================
  282.  
  283. Zoo         --  Rahul Dhesi
  284. Lh2         --  Peter Fitzsimmons
  285. PK(UN)ZIP   --  PKWARE
  286. Arj         --  Robert Jung
  287. Zip         --  Mark Adler, Richard B. Wales, Jean-loup Gailly
  288.                 and Kai Uwe Rommel.
  289. Unzip       --  S. H. Smith and others / Info-ZIP
  290. Pak         --  Nogate Consulting
  291. Fidonet     --  Tom Jennings
  292. AV          --  Mark Kimes
  293.  
  294.  
  295. History:
  296. =======
  297.  
  298. 1.32:
  299. o AV was user friendly before; now it's user protective.
  300. o Added checks on configured programs where possible without slowing
  301.   down AV at every turn
  302. o Added online editting of ARCHIVER.BB2 info
  303. o Added multiple filemask spec; multiple masks separated by ;
  304. o 32-bit OS/2 2.x executable now; was 16-bit
  305.  
  306. 1.33:
  307. o Added still more user protection
  308. o Added filemask storage and retrieval
  309. o Added cheap internal viewer for those who don't have a viewer
  310.   configured
  311.  
  312. 1.34:
  313. o Fixed "no restore from window list" 2.0 buglet.  I'll bet this one
  314.   bites a lot of 1.x and converted programs...
  315.  
  316. 1.35:
  317. o Fixed bug that disallowed extracting existing files (duh)
  318.  
  319. 1.36:
  320. o Lots of new looks this version:  many windows may now be sized, and
  321.   "main" windows have regular menus instead of lots of buttons or
  322.   drop-down controls.  I hope I haven't sacrificed ease of use for this
  323.   more "standard" look and feel...
  324. o Simplified the Archive Contents window considerably.
  325. o Added ability to filter files in Archive Contents window by mask.
  326. o Added ability to use 2.0 Extended selection in listboxes where
  327.   multiple items may be selected; user's choice.
  328. o Finally fixed alternate Workplace shutdown so it's "pretty."
  329.  
  330. 1.37:
  331. o Little tweaking only, in preparation for another mass release.
  332.  
  333. 1.38:
  334. o Added "Exit, dammit!" to config screen for a friend.  :-)  Use with
  335.   caution.
  336. o "Normal" file management Delete and Move now work in full with
  337.   directories.
  338. o Added Button-2 minimenus for important list boxes.
  339.  
  340. 1.39:
  341. o Added object info, ability to modify attribute, date and time of file.
  342. o Shortcut "set extract directory" dialog from Contents
  343.  
  344. 1.40:
  345. o Added "Viewer" mode
  346. o Few tweaks for release
  347.  
  348. 1.41:
  349. o Main window is now sizeable, which means that all windows that should
  350.   be, are.  AV still doesn't follow CUA/SAA guidelines to the tee, but
  351.   IMAO some of the other things compliance would impose would make AV
  352.   harder to use (for instance, removing the drives/dirs/files listboxes
  353.   and entry fields from the main window and providing a separate "open"
  354.   dialog) .  So I don't plan to do them.  Braaaap.
  355.  
  356. 1.42:
  357. o Added "View" and "Exec" options to Mass File Maintenance
  358. o Fixed minor bug or two in Group Manager
  359. o Added new Group parameter; AV should automatically and transparently
  360.   upgrade any old AVGROUP.AV2 files when loading them.
  361. o Uncluttered Config pulldown on main window by adding "Toggles"
  362.   submenu.
  363.  
  364.  
  365.  
  366. Mark Kimes
  367. 542 Merrick
  368. Shreveport, LA  71104
  369. (318)222-3455 data
  370. Fidonet#1:380/16.0
  371.